package com.xian.ucenter.entities;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xian
 * @since 2022/07/25 22:51
 */
@Getter
@Setter
@TableName("blog_post_tag")
@ApiModel(value = "PostTag对象", description = "")
public class PostTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    @TableField("post_id")
    private String postId;

    @TableField("tag_id")
    private String tagId;

    @TableLogic
    private Integer isDeleted;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "modify_time",fill = FieldFill.INSERT_UPDATE)
    private Date modifyTime;

}
